dofile (getScriptPath() .. "\\..\\patterns\\spy.lua")

--dofile (getScriptPath() .. "\\..\\lib\\ticks.lua")

script_name = string.gsub(string.gsub(debug.getinfo(1).short_src, "%.[^%.]*$", ""), "^.*[\\/]", "")

spy.log = "ds_ticks"
spy.start_delay = 0
--ticks.no_load = true
--processor.ds.threads_number = 5
--spy.handlers_period = 500

processor:AddInit(function()
	--spy.callbacks[INTERVAL_TICK] = {ticks = ticks.callback}
	spy.handlers[INTERVAL_TICK] = {
		ticks = function(source)
			source:C(source:Size())
		end
	}
end)

processor:AddInit(function()
	--processor:SetTimer(2500)
end)

--processor:AddHandler("OnDate", function()
--	ticks.saver = {}
--end)
	
